package com.ikaros.dao;

import com.ikaros.entity.ProductInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by Ikaros on 2017/9/10.
 */
public interface ProductInfoDao extends JpaRepository<ProductInfo,String>{
    //查询上架，下架的商品
    List<ProductInfo> findByProductStatus(Integer productStatus);
}
